package com.ai.dao.edu.cms.device;

import java.util.List;
import java.util.Map;

import com.ai.model.edu.cms.device.UserDevice;
import com.ai.model.edu.cms.device.vo.UserDeviceVO;
import com.ai.model.edu.user.dto.UserDeviceDto;

public interface UserDeviceMapper {

	void betchInsertUserDeviceInfo(List<UserDevice> list);

	List<UserDeviceVO> findUserDeviceListByUserIds(Map<String, Object> map);

	List<UserDeviceVO> findUsersByInfoObjs(Map<String, Object> map);

	void betchUpdateUserDeviceInfo(List<UserDevice> temp);

	/**
	 * Description	： 根据DTO对象分页查询 userDevice 表信息<br>
	 * WUCHEN
	 * @param userDeviceDto
	 * @return
	 * @since
	 *
	 */
	List<UserDeviceVO> queryUserDeviceInfoWithPgByDto(UserDeviceDto userDeviceDto);
	
	/**
     * Description  ： 根据DTO对象分页查询 userDevice 表总数<br>
     * WUCHEN
     * @param userDeviceDto
     * @return
     * @since
     *
     */
	Integer countQueryUserDeviceInfoWithPgByDto(UserDeviceDto userDeviceDto);
}
